// 根据key获取url中的参数
function getUrlKey(name) {
  return (
    decodeURIComponent(
      (new RegExp("[?|&]" + name + "=" + "([^&;]+?)(&|#|;|$)").exec(
        location.href
      ) || [, ""])[1].replace(/\+/g, "%20")
    ) || null
  )
}
function getEruda() {
  var u = window.navigator.userAgent,
    isRelease = u.indexOf("buildConfig=release") > -1
  if (!isRelease) {
    eruda.init()
  }
}
